package top.hzy520.personalblog.service;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import top.hzy520.personalblog.po.Tag;

import java.util.List;

public interface TagService {
    Tag saveTag(Tag tag);
    Tag getTag(Long id);
    Page<Tag> listTag(Pageable pageable);
    List<Tag> listtag();
    List<Tag> listTag(Integer size);
    Tag getTagByName(String name);
    Tag updateTag(Long id,Tag tag);
    void deleteTag(Long id);
    List<Tag> listTag(String ids);
}
